<%
    /**
     *  Document   : index
     *  Author     : TaixMiguel
     */
%>

<%@include file="includes/header.jspf" %>
    <link href="<%=patch%>css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%@include file="includes/menu.jspf" %>
    <section>
        <div>
            <nav>
                <div class="elementoSubMenu" id="clasificacion">Clasificaci&oacute;n</div>
                <div class="elementoSubMenu" id="novedades">Novedades</div>
                <div class="elementoSubMenu" id="calendario">Calendario</div>
            </nav>
            <div style="clear: both"></div>
            <section>
                <div class="visible" id="clasificacionView">
<%@include file="clasificacion/division1.jspf" %>
                </div>
                
                <div class="oculto" id="novedadesView">
<%@include file="pages/novedades.jsp" %>                    
                </div>
                        
                <div class="oculto" id="calendarioView">
                    <iframe src="https://www.google.com/calendar/embed?showPrint=0&amp;showCalendars=0&amp;height=600&amp;wkst=2&amp;bgcolor=%23FFFFFF&amp;src=4526lr6ef2mpk7b8rsdp8vmc3k%40group.calendar.google.com&amp;color=%232952A3&amp;ctz=Europe%2FMadrid" style=" border-width:0; margin-left: 180px;" width="800px" height="600px" frameborder="0" scrolling="no"></iframe>
                </div>
            </section>
        </div>        
    </section>
<%@include file="includes/footer.jspf" %>    
    <script src="js/index.js"></script>
</body>
</html>

<%
    if (request.getParameter("registroFallido") != null)
        out.println("<script>alert('No se ha podido registrar, intentelo ma\u00e1s tarde');</script>");
    else if (request.getParameter("logeoFallido") != null)
        out.println("<script>alert('No ha podido iniciar sesi\u00f3n, intent\u00e9lo m\u00e1s tarde');</script>");            
%>